#pragma once
#include "RtuStack.h"

class CLock
{
public:
	CLock(HANDLE hMutex);
	~CLock();
private:
	HANDLE m_hMutex;
};

class CPlayList
{
public:
	CPlayList();
	~CPlayList();
	int Size();

	char* pack_front();
	char* pack_pop();
	int getPackSize();
	void pack_push(char *p);

	//private:
	int            m_packcount;
	list<char *> m_package;
	HANDLE hMutex;

};